package com.github.llyb120.workflow.definition;

import javax.lang.model.element.Element;
import groovy.lang.Closure;
import java.util.*;
import java.io.Serializable;

import java.util.concurrent.*;
import org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap;


public class Workflow  implements Serializable{
    private static final long serialVersionUID = 1L;
    private List<Node> node = new CopyOnWriteArrayList();
    private String id;;

/** getter and setter **/
    public  List<  Node  >  getNode (){
        return node;
    }
    public void setNode ( List<  Node  >  value){
        this.node = value;
    }
    public  String  getId (){
        return id;
    }
    public void setId ( String  value){
        this.id = value;
    }
}